home *** CD-ROM | disk | FTP | other *** search
/ TPUG - Toronto PET Users Group / TPUG Users Group CD / TPUG Users Group CD.iso / MSDOS / Lotus Demo / INSTALL.BAT < prev   
DOS Batch File  |  1990-03-28  |  2KB  |  69 lines

  1. echo off
  2. cls
  3. echo  
  4. echo           Lotus 1-2-3/G Demo Disk Install
  5. echo           --------------------------------
  6. echo           Make sure that your 1-2-3/G Demo
  7. echo           Disk is in disk drive A: or B:
  8. echo           --------------------------------
  9. echo           This batch file will create
  10. echo           a directory called C:\123GDEMO.
  11. echo           1.2 Megabytes of free disk space
  12. echo           on your C: drive is required for
  13. echo           the installation process.  If you
  14. echo           wish to quit at this time, please
  15. echo           press [Ctrl] [C].
  16. echo  
  17. pause
  18. free C: 1200000
  19. if errorlevel 1 goto nofree
  20. echo  
  21. if exist c:\123gdemo goto next
  22. md c:\123GDEMO > nul
  23. goto next
  24. :next
  25. cls
  26. echo  
  27. echo           Lotus 1-2-3/G Demo Disk Install
  28. echo           --------------------------------
  29. echo           Copying the demo, please wait...
  30. echo  
  31. echo           Press [Ctrl][Break] or [Ctrl][C]
  32. echo           if you wish to stop this installation
  33. echo  
  34. if not exist 123gdem.exe goto filefail
  35. if not exist 123gdemo.bat goto filefail
  36. copy 123GDEM.EXE c:\123GDEMO\*.* > nul
  37. copy 123GDEMO.BAT c:\123GDEMO\*.* > nul
  38. C:
  39. CD \
  40. CD \123GDEMO
  41. echo  
  42. cls
  43. echo  
  44. echo           You have successfully installed the
  45. echo           Lotus 1-2-3/G Demo.  Type 123GDEMO and press
  46. echo           the ENTER key to begin.
  47. echo  
  48. goto exit
  49. :nofree
  50. cls
  51. echo  
  52. echo           We are sorry, but your hard disk drive
  53. echo           does not have enough space to copy the
  54. echo           Lotus 1-2-3/G Demo files.
  55. echo  
  56. echo           Please remove any unnecessary files
  57. echo           and directories to create at least 1.2MB
  58. echo           of free disk space.  You can then repeat
  59. echo           the demo installation process.
  60. echo  
  61. goto exit
  62. :filefail
  63. echo  
  64. echo           Files are missing from your
  65. echo           123GDEMO Disk, installation
  66. echo           cannot be completed.
  67. echo  
  68. goto exit
  69. :exit